package org.example.system.mapper;

import org.example.system.entity.Order;
import java.util.List;

public interface OrderMapper {
    int insert(Order order);
    int deleteById(Long id);
    int update(Order order);
    Order selectById(Long id);
    List<Order> selectAll();
    List<Order> selectByUserId(Long userId);
    List<Order> selectByUsername(String username);
    List<Order> selectByCondition(String username, String product, String location, Integer quantity);
} 